package com.tw.entity;

public class Student {
    private String sname;
    private int sage;
    private String tname;

    @Override
    public String toString() {
        return "Student{" +
                "sname='" + sname + '\'' +
                ", sage=" + sage +
                ", tname='" + tname + '\'' +
                '}';
    }

    public Student(String sname, int sage, String tname) {
        this.sname = sname;
        this.sage = sage;
        this.tname = tname;
    }

    public Student() {
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getSage() {
        return sage;
    }

    public void setSage(int sage) {
        this.sage = sage;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }
}
